package com.sau.pixelcart.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DashboardSaleVO implements Serializable {
    private BigDecimal totalSalesPrice;   // 销售额
    private int totalOrders;    // 订单数
    private int totalStockNumber;  // 总库存数
    private int totalInStock;   //总入库数
    private int totalOutStock;  //总出库数

    //出库比例，由前端计算totalInStock/totalOutStock
    private BigDecimal amountPercentage;
}
